package com.leticiafeng.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @auther Leticia FENG
 * @since 2025/2/222:02
 **/

@RestController
@RequestMapping("/test")
public class TestController {
    
    @GetMapping("/testInfo")
    public String testInfo() {
        return "Hello World!";
    }
    
    @GetMapping("/post")
    public String post(){
        return "No Post Method";
    }
    
    @GetMapping("/gemen")
    public String gemen() {
        return "Sir, this way";
    }

    @GetMapping("/info")
    public String info() {
        return "Jenkins Test Project Information";
    }

}
